<?php session_start();
$link = mysql_connect('cash2uca.ipagemysql.com', 'cash2uca', 'actW3740!@#$'); 
if (!$link) { 
    die('Could not connect: ' . mysql_error()); 
} 
mysql_select_db(cash2uca);
$Re=mysql_query("SELECT Rate FROM `Promotion` WHERE PID = 1");
$row = mysql_fetch_array($Re);
$_SESSION['result'] = $row['Rate'];
?>

<html>
<body>
<?php echo $_SESSION['result'];

$z=$_SESSION['result'];

if (!$z==0)
echo "WWW ".$z. "<br/> This is our testing";

else

echo $z." ".$_SESSION['result']. "<br/>This is another testing";?>
<p>Perfect</p>
</body>
</html>


